package org.gdpu.service;

import org.gdpu.base.DAO;
import org.gdpu.model.BloodBank;
import org.gdpu.model.BloodName;
import org.gdpu.model.BloodType;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: willson
 * Date: 13-11-7
 * Time: 上午9:12
 * To change this template use File | Settings | File Templates.
 */
public interface BloodMatchService extends DAO {

    /**
     * 配血
     *
     * @param volume    使用量
     * @param bloodType
     * @return
     */
    List<BloodBank> findBloodBankByBloodVolume(double volume, BloodType bloodType);
}
